<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS</title>
    <style>
        /* 
        鼠标点击链接的时候，会显示为红
        */
        a:active {
            color: red;
        }
    </style>
</head>

<body>
    <a href="http://www.baidu.com">访问百度</a>
    <br>
    <a href="http://www.baidu.com">访问百度</a>
    <br>
</body>

</html>